diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-09-08 10:08:39 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-09-08 10:08:39 +0200 |
| commit | e56aeac93bfd8cc05ddf229b7e51939fde41effd (patch) | |
| tree | cc875e408299bfbdb5417fff8ff2388c5cfc3985 /src/routes/projects/[id] | |
| parent | f6687db926e03eb44e5d72d321021f7738600357 (diff) | |
Replace routine status text chip with fixed-width glyph chip
Status becomes a 1.5rem rounded-square chip (ok=check, due=clock,
late=!, veryLate=double !) keeping the green-to-red colors, moved to
the start of each routine row; label and overdue stay in title.
Diffstat (limited to 'src/routes/projects/[id]')
| -rw-r--r-- | src/routes/projects/[id]/+page.svelte | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/projects/[id]/+page.svelte b/src/routes/projects/[id]/+page.svelte index 345f35f..b67ff45 100644 --- a/src/routes/projects/[id]/+page.svelte +++ b/src/routes/projects/[id]/+page.svelte @@ -156,6 +156,10 @@ > </form> {:else} + <StatusBadge + status={routine.status} + overdueDays={routine.overdueDays} + /> <div class="routine-info"> <a class="routine-name" @@ -171,10 +175,6 @@ {/if} </span> </div> - <StatusBadge - status={routine.status} - overdueDays={routine.overdueDays} - /> <form method="POST" action="?/complete" use:enhance> <input type="hidden" name="id" value={routine.id} /> <button class="btn-done" type="submit">Fait</button> |
